package com.zte.shopping.mapper.sequence;

import com.zte.shopping.entity.Sequence;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SequenceMapper {
    Sequence selectByName(String productNoPrefix);

    void insertSequence(Sequence sequ);

    void updateSquenceValue(@Param("productNoPrefix") String productNoPrefix,
                            @Param("value") String value);
}
